<template>
  <div class="salarys-container">
    <div class="app-container">
      <el-card>
        <!-- 具体页面结构 -->
        工资管理
      </el-card>
    </div>
    <el-button @click="test">addRouter</el-button>
  </div>
</template>

<script>
export default {
  methods: {
    test() {
      this.$router.addRoutes([{
        path: '/abc',
        component: () => import('@/views/abc.vue')
      }])
    }
  }
}
</script>

